﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TestUI
{
    public partial class CameraTestSuite : Form
    {
        public CameraTestSuite()
        {
            InitializeComponent();
        }

        private void butCam1_Click(object sender, EventArgs e)
        {
            CameraTestCameraWrapper frm = new CameraTestCameraWrapper();
            this.Hide(); frm.ShowDialog(); frm.Dispose(); this.Show();
        }

        private void butCam3_Click(object sender, EventArgs e)
        {
            Camera3TestCameraWrapper frm = new Camera3TestCameraWrapper();
            this.Hide(); frm.ShowDialog(); frm.Dispose(); this.Show();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            CameraTest frm = new CameraTest();
            this.Hide(); frm.ShowDialog(); frm.Dispose(); this.Show();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Camera4Test frm = new Camera4Test();
            this.Hide(); frm.ShowDialog(); frm.Dispose(); this.Show();
        }

        private void button5_Click(object sender, EventArgs e)
        {
            CamControlTest frm = new CamControlTest();
            this.Hide(); frm.ShowDialog(); frm.Dispose(); this.Show();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Test3videowmp frm = new Test3videowmp();
            this.Hide(); frm.ShowDialog(); frm.Dispose(); this.Show();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            CamControl4Test frm = new CamControl4Test();
            this.Hide(); frm.ShowDialog(); frm.Dispose(); this.Show();
        }
    }
}
